import http from "./reqest";

export const createApi = (obj) => {
  return http({
    url: "http://localhost:12345/api/order/create",
    method: "POST",
    data: {...obj},
  });
};



export const payApi = (obj) => {
  return http({
    url: "http://localhost:12345/api/order/pay",
    method: "POST",
    data: {...obj},
  });
};
